package eu.news.data.pojo;

/**
 * 本地接口抽象基类
 * @author WZZ
 *
 */
public abstract class Interface implements Entity {

	public abstract String getId();

	public abstract void setId(String id);

	public abstract int getPower();

	public abstract void setPower(int power);

	public abstract String getBindIpOrDomain() ;

	public abstract void setBindIpOrDomain(String bindIpOrDomain);

	public abstract Operator getOperator();
	
	public abstract void setOperator(Operator operator);
	
	/**
	 * 权限
	 * @author WZZ
	 *
	 */
	public static class POWER{
		/**
		 * 查询
		 */
		public static final int QUERY = 1;
		/**
		 * 插入
		 */
		public static final int INSERT = 2;
		/**
		 * 管理
		 */
		public static final int ADMIN = 4;
	}
}
